import request from '@/utils/request'
export function getList(data) {
    return request({
        url: '/media/project/getList',
        method: 'post',
        data: data
    })
}
export function getInfoList(data) {
    return request({
        url: '/media/projectTeacher/getInfoList',
        method: 'post',
        data: data
    })
}

export function getOptionListT(data) {
    return request({
        url: '/media/teacher/getOptionList',
        method: 'post',
        data: data
    })
}
export function getOptionListP(data) {
    return request({
        url: '/media/project/getOptionList',
        method: 'post',
        data: data
    })
}
export function projGetInfo(query) {
    return request({
        url: '/media/project/getInfo',
        method: 'get',
        params: query
    })
}
export function addProj(data) {
    return request({
        url: '/media/project/add',
        method: 'post',
        data: data
    })
}
export function updateProj(data) {
    return request({
        url: '/media/project/update',
        method: 'post',
        data: data
    })
}